package p270jp.pxv.android.event;

import p134ei.AnalyticsScreenName;
import p270jp.pxv.android.legacy.constant.ContentType;
import p270jp.pxv.android.legacy.model.PixivIllust;
import p270jp.pxv.android.legacy.model.PixivNovel;
import p270jp.pxv.android.legacy.model.PixivWork;

/* renamed from: jp.pxv.android.event.ShowCollectionDialogEvent */
/* loaded from: classes2.dex */
public class ShowCollectionDialogEvent {
    private ContentType contentType;
    private AnalyticsScreenName screenName;
    private PixivWork work;

    public ShowCollectionDialogEvent(PixivWork pixivWork, AnalyticsScreenName cVar) {
        if (pixivWork instanceof PixivIllust) {
            this.contentType = ContentType.ILLUST;
        } else if (pixivWork instanceof PixivNovel) {
            this.contentType = ContentType.NOVEL;
        }
        this.work = pixivWork;
        this.screenName = cVar;
    }

    public ContentType getContentType() {
        return this.contentType;
    }

    public AnalyticsScreenName getScreenName() {
        return this.screenName;
    }

    public PixivWork getWork() {
        return this.work;
    }
}
